﻿<!DOCTYPE html>
<html>
	<head>
		<title>NEGBINOM.DIST Function</title>
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
		<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
        <script type="text/javascript" src="../callback.js"></script>
        <script type="text/javascript" src="../search/js/page-search.js"></script>
	</head>
	<body>
		<div class="mainpart">
            <div class="search-field">
                <input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
            </div>
			<h1>NEGBINOM.DIST Function</h1>
			<p>The <b>NEGBINOM.DIST</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#statistical" onclick="onhyperlinkclick(this)">statistical functions</a>. It is used to return the negative binomial distribution, the probability that there will be Number_f failures before the Number_s-th success, with Probability_s probability of a success.</p>
			<h3>Syntax</h3> 
			<p><b><em>NEGBINOM.DIST(number_f, number_s, probability_s, cumulative)</em></b></p> 
			<p>The <b>NEGBINOM.DIST</b> function has the following arguments:</p>
			<table style="width: 40%">
                <tr>
                    <th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
                    <th style="background-color: #f4f4f4"><b>Description</b></th>
                </tr>
                <tr>
                    <td><b><em>number_f</em></b></td>
                    <td>The number of failures, a numeric value greater than or equal to 0.</td>
                </tr>
				<tr>
                    <td><b><em>number_s</em></b></td>
                    <td>The threshold number of successes, a numeric value greater than or equal to 1.</td>
                </tr>
				<tr>
                    <td><b><em>probability_s</em></b></td>
                    <td>The success propability of each trial, a numeric value greater than 0, but less than 1.</td>
                </tr>
				<tr>
                    <td><b><em>cumulative</em></b></td>
                    <td>A logical value (TRUE or FALSE) that determines the function form. If it is TRUE, the function returns the cumulative distribution function. If it is FALSE, the function returns the probability density function.</td>
                </tr>
            </table>
			
			<h3>Notes</h3>
			<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>NEGBINOM.DIST</b> function.</p>
			
			<h3>Examples</h3>
            <p>The figure below displays the result returned by the <b>NEGBINOM.DIST</b> function.</p>
			<p><img alt="NEGBINOM.DIST Function" src="../images/negbinom-dist.png" /></p>
		</div>
	</body>
</html>